<?php
namespace app\common\model;

use think\Model;

/**  TX
 *   渠道商提现订单模型
 *   Date: 2020/5/21
 * Class CouponModel
 * @package app\common\model
 */
class CustomerCashOrderModel extends Model
{
    // 表名
    protected $name = 'customer_cash_order';

    // 单条查询
    public function getOne($where=[],$field='*',$join=[])
    {
        $result = $this->alias('a')->where($where)->join($join)
            ->field($field)
            ->find();
        return $result;
    }

}